From 30d3c9ee8fefabe4c7f3d53718d775366dc02d92 Mon Sep 17 00:00:00 2001 From: "cl349@firebug.cl.cam.ac.uk" Date: Thu, 3 Mar 2005 01:43:41 +0000 Subject: [PATCH] bitkeeper revision 1.1236.1.48 (42266bcdE0YKInNbHNUP19tmx6VSdA) Fix 32-bit build on 64-bit machines. Signed-off-by: chris@xensource.com --- tools/libxc/Makefile | 2 +- tools/libxutil/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/libxc/Makefile b/tools/libxc/Makefile index af40ec3d2d..076cd24457 100644 --- a/tools/libxc/Makefile +++ b/tools/libxc/Makefile @@ -102,6 +102,6 @@ libxc.so.$(MAJOR): libxc.so.$(MAJOR).$(MINOR) ln -sf $< $@ libxc.so.$(MAJOR).$(MINOR): $(PIC_OBJS) - $(CC) -Wl,-soname -Wl,libxc.so.$(MAJOR) -shared -o $@ $^ -L../libxutil -lxutil -lz + $(CC) $(CFLAGS) -Wl,-soname -Wl,libxc.so.$(MAJOR) -shared -o $@ $^ -L../libxutil -lxutil -lz -include $(DEPS) diff --git a/tools/libxutil/Makefile b/tools/libxutil/Makefile index a955c85cde..6a594917b5 100644 --- a/tools/libxutil/Makefile +++ b/tools/libxutil/Makefile @@ -50,7 +50,7 @@ libxutil.so.$(MAJOR): libxutil.so.$(MAJOR).$(MINOR) ln -sf $^ $@ libxutil.so.$(MAJOR).$(MINOR): $(PIC_OBJS) - $(CC) -Wl,-soname -Wl,libxutil.so.$(MAJOR) -shared -o $@ $^ + $(CC) $(CFLAGS) -Wl,-soname -Wl,libxutil.so.$(MAJOR) -shared -o $@ $^ libxutil.a: $(LIB_OBJS) $(AR) rc $@ $^ -- 2.30.2